// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_b.p_b.p_e;

import java.util.*;

// Referenced classes of package com.nnee.b.b.e:
//            e, j, g, f

public class cls_h
{

    public cls_h()
    {
        a = new LinkedList();
        b = new LinkedList();
    }

    public static cls_h a()
    {
        if(c == null)
            c = new cls_h();
        return c;
    }

    /**
     * @deprecated Method b is deprecated
     */

    private void b()
    {
        
        b.clear();
        List list = a;
        
        if(a.size() != 0) {
        	cls_e e1;
            for(Iterator iterator = a.iterator(); iterator.hasNext(); b.add(e1))
                e1 = (cls_e)iterator.next();

            
        }
 
        
    }

    /**
     * @deprecated Method c is deprecated
     */

    private void c()
    {
        
        if(b != null)
            b.clear();
        
        return;
         
    }

    void a(int i, int k, cls_f f)
    {
        b();
        Iterator iterator = b.iterator();
        do
            if(iterator.hasNext())
            {
                cls_e e1 = (cls_e)iterator.next();
                switch(k)
                {
                case 4096: 
                    e1.a(i, k, f);
                    break;

                case 4097: 
                    e1.b(i, k, f);
                    break;

                case 4098: 
                    e1.c(i, k, f);
                    break;
                }
            } else
            {
                c();
                return;
            }
        while(true);
    }

    void a(int i, int k, Object obj)
    {
        b();
        Iterator iterator = b.iterator();
        do
            if(iterator.hasNext())
            {
                cls_e e1 = (cls_e)iterator.next();
                switch(k)
                {
                case 4096: 
                    e1.a(i, k, (cls_j)obj);
                    break;

                case 4097: 
                    e1.a(i, k, (cls_g)obj);
                    break;

                case 4098: 
                    e1.b(i, k, (cls_g)obj);
                    break;
                }
            } else
            {
                c();
                return;
            }
        while(true);
    }

    public void a(cls_e e1)
    {
        List list = a;
         
        if(!a.contains(e1))
            a.add(e1);
        return;
    }

    public void b(cls_e e1)
    {
        List list = a;
         
        a.remove(e1);
        return;
    }

    private static cls_h c;
    List a;
    List b;
}
